﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<Fashion.Models.ProductCategory>>" %>
<ul>
    <%foreach (var category in Model){%>
        <li>
            <p><%=category.Name %></p>
            <ul>
                <%foreach (var subcategory in category.ProductCategories){%>
                    <li><%=category.Name %></li>
                <%} %>
            </ul>
        </li>
    <%} %>
</ul>
